﻿<?xml version="1.0" encoding="utf-8"?>
<DeploymentPack>
  <VendorInfo
    CompanyName ="OEM"
    FullName ="OEM Server Deployment"
    Version ="1.0"
    Language="us-en"
    HeaderText ="OEM Deployment for Configuration Manager 2007"
    HeaderLogo="Properties.Resources.OEMLogo"
    IconFile="Properties.Resources.OEMLogo1"/>
  <ConfigurationTypes>
    <ConfigurationType
       DisplayName = "BIOS Config (ini file)"
       PackageName = "OEM Deployment for Configuration Manager">
      <Get
        Enable ="true"
        UserInputType ="cmdline"
        SamplesPath="template\configs\syscfg"
         UseSamplesPathInCmdLine="false"
        AddlCmdLineEnabled="false"
        AddlCmdLineChecked="false"
        EnablePassword="true"
        DefaultTaskName="Get BIOS Config">
        <ConfigurationTask>
          <Task Order ="0" Executable ="syscfg.exe"  CommandType="EXE"  WorkingDirectory ="Tools"  StepName ="Get System Configuration">
            <Parameter Order ="0" ParamSwitch ="-o=" ParamType ="ControlValue" ParamValue ="cmdline"/>
            <ResultCodes>
              <ResultCode Code="0" Description ="Success" ResultType ="Success"/>
              <ResultCode Code="1" Description ="Attempt to read write-only parameter." ResultType ="Failure"/>
              <ResultCode Code="2" Description ="Password cannot exceed 16 characters." ResultType="Failure"/>
              <ResultCode Code="3" Description ="A BMC was either not detected or is not supported." ResultType="Failure"/>
            </ResultCodes>
            <SetEnvironmentVariable SetAsType="SystemVariable" VarName="MySysVar1" VarType="String" VarValue="MySysValue1"/>
            <SetEnvironmentVariable SetAsType="SystemVariable" VarName="MySysVar2" VarType="Filename" VarValue="CA-1.Xml"/>
            <SetEnvironmentVariable SetAsType="SystemVariable" VarName="MySysVar3" VarType="TSVariable" VarValue="_SMSTsInWinPE"/>
            <SetEnvironmentVariable SetAsType="SystemVariable" VarName="MySysVar4" VarType="SystemVariable" VarValue="PROCESSOR_IDENTIFIER"/>
            <SetEnvironmentVariable SetAsType="SystemVariable" VarName="MySysVar5" VarType="VariableInString" VarValue="This is a variable in a string. %PROMPT% is my prompt"/>
            <SetEnvironmentVariable SetAsType="SystemVariable" VarName="MySysVar6" VarType="ControlValue" VarValue="commandline"/>

            <SetEnvironmentVariable SetAsType="TSVariable" VarName="MySysVar1" VarType="String" VarValue="MySysValue1"/>
            <SetEnvironmentVariable SetAsType="TSVariable" VarName="MySysVar2" VarType="Filename" VarValue="CA-1.Xml"/>
            <SetEnvironmentVariable SetAsType="TSVariable" VarName="MySysVar3" VarType="TSVariable" VarValue="_SMSTsInWinPE"/>
            <SetEnvironmentVariable SetAsType="TSVariable" VarName="MySysVar4" VarType="SystemVariable" VarValue="PROCESSOR_IDENTIFIER"/>
            <SetEnvironmentVariable SetAsType="TSVariable" VarName="MySysVar5" VarType="VariableInString" VarValue="This is a variable in a string. %PROMPT% is my prompt"/>
            <SetEnvironmentVariable SetAsType="TSVariable" VarName="MySysVar6" VarType="ControlValue" VarValue="commandline"/>

            <SetEnvironmentVariable SetAsType="SysAndTsVariable" VarName="MySysVar1" VarType="String" VarValue="MySysValue1"/>
            <SetEnvironmentVariable SetAsType="SysAndTsVariable" VarName="MySysVar2" VarType="Filename" VarValue="CA-1.Xml"/>
            <SetEnvironmentVariable SetAsType="SysAndTsVariable" VarName="MySysVar3" VarType="TSVariable" VarValue="_SMSTsInWinPE"/>
            <SetEnvironmentVariable SetAsType="SysAndTsVariable" VarName="MySysVar4" VarType="SystemVariable" VarValue="PROCESSOR_IDENTIFIER"/>
            <SetEnvironmentVariable SetAsType="SysAndTsVariable" VarName="MySysVar5" VarType="VariableInString" VarValue="This is a variable in a string. %PROMPT% is my prompt"/>
            <SetEnvironmentVariable SetAsType="SysAndTsVariable" VarName="MySysVar6" VarType="ControlValue" VarValue="commandline"/>
            
            <SetEnvironmentVariable SetAsType="File" VarName="MyFile1.txt" VarType="String" VarValue="Saving text in a file"/>
            <SetEnvironmentVariable SetAsType="File" VarName="MyFile2.txt" VarType="Filename" VarValue="CA-1.Xml"/>
            <SetEnvironmentVariable SetAsType="File" VarName="MyFile3.txt" VarType="TSVariable" VarValue="_SMSTsInWinPE"/>
            <SetEnvironmentVariable SetAsType="File" VarName="MyFile4.txt" VarType="SystemVariable" VarValue="PROCESSOR_IDENTIFIER"/>
            <SetEnvironmentVariable SetAsType="File" VarName="MyFile5.txt" VarType="VariableInString" VarValue="This is a variable in a string. %PROMPT% is my prompt"/>
            <SetEnvironmentVariable SetAsType="File" VarName="MyFile6.txt" VarType="ControlValue" VarValue="commandline"/>

            <ReturnFile CopyFrom="" CopyMethod="SmbFileTransfer" CopyTo="" FileName="cmdline" FileType="ControlValue"/>
            
          </Task>
        </ConfigurationTask>
      </Get>
      <Set
        Enable ="false"
        EnablePassword="false">
      </Set>
      <ParamsHelpText Format="HTML"  HelpFile="test.htm"/>
    </ConfigurationType>
  </ConfigurationTypes >
</DeploymentPack>
